<?php session_start(); ?>

<html>
<body>
<?php
	echo "Logged in as: ".$_SESSION['user'];

	if($_GET['diciplineid'] == 1)
	{
	echo '
	<h2> Detention for John Doe</h2>
	<ul>
		<li> Date : April 5, 2008</li>
		<li> Given by : Lunch Lady Dorris</li>
		<li> Reason : Would not eat grade F meat as provided by cafeteria.
		<br /> Also, threatened legal action for food.

		';
	}

	else
	{
		echo '<br />';
		echo "Error: no diciplinary record selected";
	}
?>
</body>
</html>